﻿#region << 文件说明 >>
/*----------------------------------------------------------------
 * 命名空间：Vampirewal.Core.ApprovalFlowEngine.Attributes
 * 唯一标识：acce53fb-8a88-4757-83a2-ac358aecdde1
 * 文件名：UserSelecorAttribute
 * 
 * 创建者：杨程
 * 电子邮箱：235160615@qq.com
 * 创建时间：2024/8/14 15:18:21
 * 版本：V1.0.0
 * 描述：
 *
 * ----------------------------------------------------------------
 * 修改人：
 * 时间：
 * 修改说明：
 *
 * 版本：V1.0.1
 *----------------------------------------------------------------*/
#endregion << 文件说明 >>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Vampirewal.Core.ApprovalFlowEngine;

/// <summary>
/// 用户选择器特性
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
internal sealed class UserSelecorAttribute : Attribute
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="key">key值</param>
    /// <param name="description">描述</param>
    public UserSelecorAttribute(string key, string description)
    {
        Key = key;
        Description = description;
    }

    /// <summary>
    /// Key值
    /// </summary>
    public string Key { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }
}